package com.sansan.qiangji.service.inter.warehouse;

import com.sansan.qiangji.entity.warehouse.PushOrderDetail;
import com.sansan.qiangji.entity.warehouse.example.PushOrderDetailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PushOrderDetailService {
    List<PushOrderDetail> findByProductCodeOrProductName(String productCode, String productName);

    int insertPushOrderDetails(List<PushOrderDetail> pushOrderDetails);

    long countByExample(PushOrderDetailExample example);

    int deleteByExample(PushOrderDetailExample example);

    int deleteByPrimaryKey(Integer pushOrderDetailId);

    int insert(PushOrderDetail record);

    int insertSelective(PushOrderDetail record);

    List<PushOrderDetail> selectByExample(PushOrderDetailExample example);

    PushOrderDetail selectByPrimaryKey(Integer pushOrderDetailId);

    int updateByExampleSelective(@Param("record") PushOrderDetail record, @Param("example") PushOrderDetailExample example);

    int updateByExample(@Param("record") PushOrderDetail record, @Param("example") PushOrderDetailExample example);

    int updateByPrimaryKeySelective(PushOrderDetail record);

    int updateByPrimaryKey(PushOrderDetail record);
}
